package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;

 
public class UpgradeRuleVO extends BaseVO implements IDomainObject, Cloneable {

	/**  */
	private static final long serialVersionUID = -1L;

	private Integer id;
	private Integer needPoint;
	private Integer deductionPoint;
	private Integer oldCardEntityId;
	private Integer newCardEntityId;

	public UpgradeRuleVO() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the deductionPoint
	 */
	public Integer getDeductionPoint() {
		return deductionPoint;
	}

	/**
	 * @param deductionPoint
	 *            the deductionPoint to set
	 */
	public void setDeductionPoint(Integer deductionPoint) {
		this.deductionPoint = deductionPoint;
	}

	public CompositeID getCompositeID() {
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if (id != null) {
			_id.addKey("id", id);
		}
		return _id;
	}

	public Integer getNeedPoint() {
		return needPoint;
	}

	public void setNeedPoint(Integer needPoint) {
		this.needPoint = needPoint;
	}

	public Integer getOldCardEntityId() {
		return oldCardEntityId;
	}

	public void setOldCardEntityId(Integer oldCardEntityId) {
		this.oldCardEntityId = oldCardEntityId;
	}

	public Integer getNewCardEntityId() {
		return newCardEntityId;
	}

	public void setNewCardEntityId(Integer newCardEntityId) {
		this.newCardEntityId = newCardEntityId;
	}
}
